/**
 * Created by admin on 2017/9/7.
 */
/**
 * Created by admin on 2017/8/22.
 */
layui.define(['ajax'], function (exports) {
    var $ajax = layui.ajax;
    var collage = {
        findCollageList: function(obj, callback) {
            $ajax.getJSON({
                url: "/collage/findCollageList.html",
                data: obj,
                success: callback
            })
        },
        saveCollage: function(obj, callback) {
            $ajax.getJSON({
                url: "/collage/saveCollage.html",
                data: obj,
                success: callback
            })
        },
        deleteCollageById: function(obj, callback) {
            $ajax.getJSON({
                url: "/collage/deleteCollageById.html",
                data: obj,
                success: callback
            })
        },
        findCollageById: function(obj, callback) {
            $ajax.getJSON({
                url: "/collage/findCollageById.html",
                data: obj,
                success: callback
            })
        },
        updateCollage: function(obj, callback) {
            $ajax.getJSON({
                url: "/collage/updateCollage.html",
                data: obj,
                success: callback
            })
        }
    };
    exports('collage', collage);
})